﻿<%@ Page Title="Google Map Sample" Language="C#" MasterPageFile="~/Demo.master" Inherits="DemoPage" %>

<%@ Register Src="~/CodeFormatter.ascx" TagName="Code" TagPrefix="demo" %>
<asp:Content ID="Content1" ContentPlaceHolderID="DemoHolder" runat="Server">

    <script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQIAAAApCYnM8S-TSRBhQk16Ynr4BSHXDLIBdeFTCJMwNpap6N2vCP1OBTb0DzDNTh7NuslRBu6RedYHDjvCg"
        type="text/javascript"></script>

    <div class="dna-state-help ui-corner-all" style="margin-bottom: 10px;">
        This sample using JQueryPlugin WebControl to intergate the jMap plugin.
    </div>
    <asp:Panel ID="Panel1" runat="server" Height="300" Width="300" CssClass="ui-corner-all ui-widget-content">
    </asp:Panel>
    <DotNetAge:JQueryPlugin ID="JQueryPlugin1" runat="server" Name="jmap">
        <PlugInScripts>
            <asp:ScriptReference Path="~/JQueryPlugin/jquery.jmap.min.js" />
        </PlugInScripts>
        <Options>
            <DotNetAge:JQueryOption Name="init" Type="Object" Value="{mapCenter:[55.958858,-3.162302]}" />
        </Options>
        <Target TargetID="Panel1"></Target>
    </DotNetAge:JQueryPlugin>
    <DotNetAge:Resizable ID="Resizable1" runat="server" EnabledAnimation="True" ShowSemiTransparentHelper="True">
        <Target TargetID="Panel1"></Target>
    </DotNetAge:Resizable>
    <br />
    <demo:Code runat="server" ID="codeView" SourceFile="~/JQueryPlugin/Codes/GoogleMap.aspx" />
</asp:Content>
